home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Developer Toolbox 6.1
/
SGI Developer Toolbox 6.1 - Disc 1.iso
/
toolbox
/
src
/
demos
/
OpenGL
/
space
/
sol.h
< prev
next >
Wrap
Text File
|
1996-11-11
|
16KB
|
186 lines
/*
* Copyright (C) 1992, 1993, 1994, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
* the contents of this file may not be disclosed to third parties, copied or
* duplicated in any form, in whole or in part, without the prior written
* permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to restrictions
* as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
* and Computer Software clause at DFARS 252.227-7013, and/or in similar or
* successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
* rights reserved under the Copyright Laws of the United States.
*/
t_system moons_ear[1] = {
"Luna", 384402.0, 0.055, 0.00, 1738.0, 7.40e22, 0.0, 27.322, 27.322, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x23, 128, 0.0, 0, 0,0, "",0,0,0,"moon2.worp128", 0, NULL
} ;
t_system moons_mar[2] = {
"Phobos", 9378.0, 0.015, 1.00, 5.5, 0.00e00, 0.0, 0.319, 0.319, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x23, 128, 0.0, 0, 0,0, "",0,0,0,"moon1.worp128", 0, NULL,
"Deimos", 23459.0, 0.000, 1.80, 3.0, 0.00e00, 0.0, 1.262, 1.262, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x23, 128, 0.0, 0, 0,0, "",0,0,0,"moon3.worp128", 0, NULL
} ;
t_system moons_jup[16] = {
"Metis", 128000.0, 0.000, 0.00, 20.0, 0.00e00, 0.0, 0.295, 0.295, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon1.worp128", 0, NULL,
"Adrastea", 129000.0, 0.000, 0.00, 5.0, 0.00e00, 0.0, 0.298, 0.298, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon2.worp128", 0, NULL,
"Amalthea", 181000.0, 0.003, 0.40, 50.0, 0.00e00, 0.0, 0.498, 0.498, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon3.worp128", 0, NULL,
"Thebe", 222000.0, 0.015, 0.80, 25.0, 0.00e00, 0.0, 0.675, 0.675, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon4.worp128", 0, NULL,
"Io", 422000.0, 0.004, 0.04, 1815.0, 8.92e22, 0.0, 1.769, 1.769, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xff0080ff, 0x23, 128, 0.0, 0, 0,0, "",0,0,0,"moon1.worp128", 0, NULL,
"Europa", 671000.0, 0.009, 0.47, 1569.0, 4.87e22, 0.0, 3.551, 3.551, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x23, 128, 0.0, 0, 0,0, "",0,0,0,"moon2.worp128", 0, NULL,
"Ganymede", 1070000.0, 0.002, 0.21, 2631.0, 1.49e23, 0.0, 7.154, 7.154, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x23, 128, 0.0, 0, 0,0, "",0,0,0,"moon3.worp128", 0, NULL,
"Callisto", 1883000.0, 0.007, 0.51, 2400.0, 2.41e23, 0.0, 16.689, 16.689, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x23, 128, 0.0, 0, 0,0, "",0,0,0,"moon4.worp128", 0, NULL,
"Leda", 11094000.0, 0.148, 26.07, 8.0, 0.00e00, 0.0, 238.720, 238.720, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon1.worp128", 0, NULL,
"Himalia", 11480000.0, 0.158, 27.63, 93.0, 0.00e00, 0.0, 250.566, 250.566, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon2.worp128", 0, NULL,
"Lysithea",11720000.0, 0.107, 29.02, 18.0, 0.00e00, 0.0, 259.220, 259.220, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon3.worp128", 0, NULL,
"Elara", 11737000.0, 0.207, 24.77, 38.0, 0.00e00, 0.0, 259.653, 259.653, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon4.worp128", 0, NULL,
"Ananke", 21200000.0, 0.169,147.00, 15.0, 0.00e00, 0.0,-631.000,-631.000, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon1.worp128", 0, NULL,
"Carme", 22600000.0, 0.207,164.00, 20.0, 0.00e00, 0.0,-692.000,-692.000, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon2.worp128", 0, NULL,
"Pasiphae",23500000.0, 0.378,145.00, 25.0, 0.00e00, 0.0,-735.000,-735.000, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon3.worp128", 0, NULL,
"Sinope", 23700000.0, 0.275,153.00, 18.0, 0.00e00, 0.0,-758.000,-758.000, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon4.worp128", 0, NULL
} ;
t_system moons_sat[17] = {
"Atlas", 137670.0, 0.000, 0.30, 8.0, 0.00e00, 0.0, 0.602, 0.602, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon1.worp128", 0, NULL,
"Prometheus",139353.0, 0.003, 0.00, 28.0, 0.00e00, 0.0, 0.613, 0.613, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon2.worp128", 0, NULL,
"Pandora", 141700.0, 0.004, 0.00, 23.0, 0.00e00, 0.0, 0.629, 0.629, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon3.worp128", 0, NULL,
"Epimetheus",151422.0, 0.009, 0.34, 30.0, 0.00e00, 0.0, 0.694, 0.694, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon4.worp128", 0, NULL,
"Janus", 151472.0, 0.007, 0.14, 48.0, 0.00e00, 0.0, 0.695, 0.695, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon1.worp128", 0, NULL,
"Mimas", 185520.0, 0.020, 1.53, 196.0, 0.00e00, 0.0, 0.942, 0.942, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon2.worp128", 0, NULL,
"Enceladus", 238020.0, 0.005, 0.00, 250.0, 0.00e00, 0.0, 1.370, 1.370, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon3.worp128", 0, NULL,
"Tethys", 294660.0, 0.000, 1.86, 530.0, 0.00e00, 0.0, 1.888, 1.888, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon4.worp128", 0, NULL,
"Telesto", 294660.0, 0.000, 0.00, 8.0, 0.00e00, 0.0, 1.888, 1.888, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon1.worp128", 0, NULL,
"Calypso", 294660.0, 0.000, 0.00, 7.0, 0.00e00, 0.0, 1.888, 1.888, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon2.worp128", 0, NULL,
"Dione", 377400.0, 0.002, 0.02, 560.0, 0.00e00, 0.0, 2.737, 2.737, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon3.worp128", 0, NULL,
"Helene", 377400.0, 0.005, 0.00, 8.0, 0.00e00, 0.0, 2.737, 2.737, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon4.worp128", 0, NULL,
"Rhea", 527040.0, 0.001, 0.35, 765.0, 0.00e00, 0.0, 4.518, 4.518, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon1.worp128", 0, NULL,
"Titan", 1221830.0, 0.029, 0.33, 2575.0, 0.00e00, 0.0, 15.945, 15.945, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x23, 128, 0.0, 0, 0,0, "",0,0,0,"moon2.worp128", 0, NULL,
"Hyperion", 1481100.0, 0.104, 0.43, 80.0, 0.00e00, 0.0, 21.277, 21.277, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon3.worp128", 0, NULL,
"Iapetus", 3561300.0, 0.028, 14.72, 730.0, 0.00e00, 0.0, 79.330, 79.330, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon4.worp128", 0, NULL,
"Phoebe", 12952000.0, 0.163,177.00, 110.0, 0.00e00, 0.0,-550.480,-550.480, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon1.worp128", 0, NULL
} ;
t_system moons_ura[15] = {
"Cordelia", 49770.0, 0.000, 0.00, 25.0, 0.00e00, 0.0, 0.335, 0.335, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon1.worp128", 0, NULL,
"Ophelia", 53790.0, 0.010, 0.00, 25.0, 0.00e00, 0.0, 0.376, 0.376, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon2.worp128", 0, NULL,
"Bianca", 59170.0, 0.000, 0.00, 25.0, 0.00e00, 0.0, 0.435, 0.435, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon3.worp128", 0, NULL,
"Cressida", 61780.0, 0.000, 0.00, 30.0, 0.00e00, 0.0, 0.464, 0.464, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon4.worp128", 0, NULL,
"Desdemona", 62680.0, 0.000, 0.00, 30.0, 0.00e00, 0.0, 0.474, 0.474, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon1.worp128", 0, NULL,
"Juliet", 64350.0, 0.000, 0.00, 40.0, 0.00e00, 0.0, 0.493, 0.493, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon2.worp128", 0, NULL,
"Portia", 66090.0, 0.000, 0.00, 40.0, 0.00e00, 0.0, 0.513, 0.513, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon3.worp128", 0, NULL,
"Rosalind", 69940.0, 0.000, 0.00, 30.0, 0.00e00, 0.0, 0.558, 0.558, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon4.worp128", 0, NULL,
"Belinda", 75260.0, 0.000, 0.00, 25.0, 0.00e00, 0.0, 0.623, 0.623, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon1.worp128", 0, NULL,
"Puck", 86010.0, 0.000, 0.00, 85.0, 0.00e00, 0.0, 0.762, 0.762, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon2.worp128", 0, NULL,
"Miranda", 129390.0, 0.003, 4.20, 240.0, 0.00e00, 0.0, 1.413, 1.413, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x23, 128, 0.0, 0, 0,0, "",0,0,0,"moon3.worp128", 0, NULL,
"Ariel", 191020.0, 0.003, 0.30, 579.0, 0.00e00, 0.0, 2.520, 2.520, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x23, 128, 0.0, 0, 0,0, "",0,0,0,"moon4.worp128", 0, NULL,
"Umbriel", 266300.0, 0.005, 0.36, 586.0, 0.00e00, 0.0, 4.144, 4.144, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x23, 128, 0.0, 0, 0,0, "",0,0,0,"moon1.worp128", 0, NULL,
"Titania", 435910.0, 0.002, 0.14, 790.0, 0.00e00, 0.0, 8.705, 8.705, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x23, 128, 0.0, 0, 0,0, "",0,0,0,"moon2.worp128", 0, NULL,
"Oberon", 583520.0, 0.001, 0.10, 762.0, 0.00e00, 0.0, 13.463, 13.463, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x23, 128, 0.0, 0, 0,0, "",0,0,0,"moon3.worp128", 0, NULL
} ;
t_system moons_nep[8] = {
"89N6", 48200.0, 0.000, 5.00, 27.0, 0.00e00, 0.0, 0.300, 0.300, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon1.worp128", 0, NULL,
"89N5", 50000.0, 0.000, 0.00, 40.0, 0.00e00, 0.0, 0.320, 0.320, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon2.worp128", 0, NULL,
"89N3", 52600.0, 0.000, 0.00, 75.0, 0.00e00, 0.0, 0.340, 0.340, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon3.worp128", 0, NULL,
"89N4", 62000.0, 0.000, 0.00, 80.0, 0.00e00, 0.0, 0.420, 0.420, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon4.worp128", 0, NULL,
"89N2", 73600.0, 0.000, 0.00, 95.0, 0.00e00, 0.0, 0.560, 0.560, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x22, 128, 0.0, 0, 0,0, "",0,0,0,"moon1.worp128", 0, NULL,
"89N1", 117600.0, 0.000, 0.00, 200.0, 0.00e00, 0.0, 1.120, 1.120, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x23, 128, 0.0, 0, 0,0, "",0,0,0,"moon2.worp128", 0, NULL,
"Triton", 354770.0, 0.000,157.20, 1350.0, 0.00e00, 0.0, 5.877, 5.877, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x23, 128, 0.0, 0, 0,0, "",0,0,0,"moon3.worp128", 0, NULL,
"Nereid", 5513000.0, 0.748, 27.60, 170.0, 0.00e00, 0.0, 360.200, 360.200, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x23, 128, 0.0, 0, 0,0, "",0,0,0,"moon4.worp128", 0, NULL
} ;
t_system moons_plu[1] = {
"Charon", 19130.0, 0.000, 94.00, 750.0, 0.00e00, 0.0, 6.387, 6.387, 0.0, 0.0, 0.0, 0.0, 0.0, "",
0xffffffff, 0x23, 128, 0.0, 0, 0,0, "",0,0,0,"moon4.worp128", 0, NULL
} ;
t_system sol_planets[10] = {
"Mercury", 57900000.0, 0.206, 7.00, 2439.0, 3.30e23, 0.0, 87.969, 58.650, 60.75, 77.30, 48.21, 0.0, 0.0, "",
0xffffffff, 0x14, 0, 0.0, 0, 0,0x00, "",0,0,0,"", 0, NULL,
"Venus", 108020000.0, 0.007, 3.39, 6050.0, 4.87e24, -2.0, 224.701,-243.000, 88.46, 131.43, 76.59, 0.0, 0.0, "",
0xff40ff40, 0x24, 256, 0.0, 0, 0,0x00, "",0,0,0,"venus.worp256", 0, NULL,
"Terra", 149600000.0, 0.017, 0.00, 6378.0, 5.98e24, 23.44, 365.242, 1.000, 99.40, 102.77, 0.0 , 0.0, 0.0, "",
0xffffff00, 0x44, 0,1.1e-4,2160,1080,0x07,"df1",0,0,0,"", 1, moons_ear,
"Mars", 227900000.0, 0.093, 1.85, 3398.0, 6.42e23, 24.0, 686.980, 1.029, 240.74, 335.87, 49.48, 0.0, 0.0, "",
0xff0000ff, 0x44, 0,1.5e-4,2880,1440,0x02,"df2" ,1440, 720,2,"df3" , 2, moons_mar,
"Jupiter", 778000000.0, 0.049, 1.30,71900.0, 1.90e27, 3.1, 4332.589, 0.413, 90.64, 14.17, 100.35, 0.0, 0.0, "",
0xff0080ff, 0x24, 256, 0.0, 0, 0,0x00, "",0,0,0,"jupiter.worp256", 16, moons_jup,
"Saturn", 1427000000.0, 0.056, 2.49,60000.0, 5.69e26, 29.0,10759.220, 0.428, 287.69, 92.86, 113.58, 70000.0, 140000.0, "saturn.ring",
0xff80C0ff, 0x14, 0, 0.0, 0, 0,0x00, "",0,0,0,"", 17, moons_sat,
"Uranus", 2869000000.0, 0.047, 0.77,26141.0, 8.66e25, 97.9,30685.400, -0.648, 271.06, 172.88, 73.93, 0.0, 0.0, "",
0xffffffff, 0x14, 0, 0.0, 0, 0,0x00, "",0,0,0,"", 15, moons_ura,
"Neptune",4496000000.0, 0.009, 1.77,24550.0, 1.03e26, 28.8,60189.000, 0.660, 282.35, 48.01, 131.67, 0.0, 0.0, "",
0xffff8080, 0x14, 0, 0.0, 0, 0,0x00, "",0,0,0,"", 8, moons_nep,
"Pluto", 5900000000.0, 0.250,17.20, 1550.0, 1.00e22, 0.0,90465.000, 6.380, 221.41, 224.13, 110.14, 0.0, 0.0, "",
0xffffffff, 0x14, 0, 0.0, 0, 0,0x00, "",0,0,0,"", 1, moons_plu,
"Halley", 2647100000.0, 0.967,162.2, 100.0, 1.00e14, 0.0,27791.278, 0.0,-1419.500,170.01, 58.15, 0.0, 0.0, "",
0xffffffff, 0x13, 0, 0.0, 0, 0,0x00, "",0,0,0,"", 0, NULL
} ;
t_system solsys = {
"Sol", 0.0, 0.000, 0.00,700000.0,2.00e30,5500.0, 1.000, 2.000, 0.0 , 0.0 , 0.0 , 0.0, 0.0, "",
0xff00ffff, 0x03, 0, 0.0, 0, 0,0, "",0,0,0,"", 10, sol_planets
} ;